package com.hqyj.mapper;

import com.hqyj.pojo.GoodsModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsModelMapper {
    List<GoodsModel> findAllGoodsModel(@Param("condition") String condition);
    Integer deleteGoodsModelById(int mId);
    Integer insertGoodsModel(GoodsModel goodsModel);
    GoodsModel findGoodsModelById(int mId);
    GoodsModel findGoodsModelBymType(@Param("mType") String mType);
    Integer updateGoodsModelById(GoodsModel goodsModel);
    Integer updateGoodsContactBymId(@Param("mId")int mId);
    int findGoodsContactByMidCount(@Param("mId")int mId);
}
